﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ZSens
{
    class Zsens
    {
        public  List<Layout> layouts { get; private set; }
        public List<Player> players { get; private set; }
        public int monitorVMultiExit;
        public MainWindow ui;

        public void AddPlayer(Player player)
        {
            ui.AddPlayer(player);
            players.Add(player);
        }

        public void RemovePlayer(Player player)
        {
            ui.RemovePlayer(player);
        }
 
        public Zsens(int numPlayer, MainWindow ui)
        {
            this.ui = ui;
            monitorVMultiExit = 0;
            players = new List<Player>();
        }
    }
}
